package com.wc.alorithm_luogu.P3954;

import java.util.Scanner;

/**
 * @Author congge
 * @Date 2023/4/17 20:29
 * @description
 */
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int A = sc.nextInt();
        int B = sc.nextInt();
        int C = sc.nextInt();

        int ans = (A * 20 + B * 30 + C * 50)/100;
        System.out.println(ans);
    }
}
